<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html style="background-color:rgb(1,107,169);">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>蔚蓝家教网</title>
<script>
pathStr="/{$Think.APP_NAME}";

</script>
<load href="/{$Think.APP_NAME}/Public/Css/login.css"/>
<load href="/{$Think.APP_NAME}/Public/Css/easyui.css"/>
<load href="/{$Think.APP_NAME}/Public/Css/linkbutton.css"/>
<load href="/{$Think.APP_NAME}/Public/Js/jquery.easyui.min.js"/>
<load href="/{$Think.APP_NAME}/Public/Js/jquery.min.js"/>
<load href="/{$Think.APP_NAME}/Public/Js/login.js"/>
</head>
<body>
<div style="width:100%;height:100%;"> 
<div style="background-image: url(/{$Think.APP_NAME}/Public/Css/login.jpg);width:1003px;height:  613px;margin-left: 100px; margin:0 auto;text-align:center;">
<div style="height:260px"></div>
<form id="form1" name="form1" method="post" onsubmit="return login(form1,form1.account.value,form1.password.value);">
<div style="position:relative;vertical-align:center;margin-top: 15px">
  <p class="my">账号： 
    <input type="text" name="account" id="account" />
  </p>
  <p class="my">密码： 
    <input  type="password" name="password" id="password" />
    </p>
    <p>
    <input style="width:80px"  type="submit" class="l-btn input" name="submit" id="submit"  value="登录" />
    <span>&nbsp;</span>
    <input style="width:80px" class="l-btn input"  name="register" type="button" value="注册" style="width: 151px;"
    onclick="window.location.href='/{$Think.APP_NAME}/index.php/profile/create';"
    />
    </p>
    <a href="javascript:void(0)" onclick="$('#alert').html('对不起，此功能尚未开放。')" style="color: #fff;">以游客身份访问</a>
    <p id="alert" style="color:red;margin-top: 25px;font-size: 20px;text-align: center;">
    </p>
  </div>
</form>
</body>
<script>
$(function(){
	var m={$error};
	switch(m)
	{
	case 1:$("p:last").html("请检查您的账号或密码！");break;
	case 2:$("p:last").html("请先登录！");
	}
});
</script>
</html>